home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TIMES C Library Procedures TIMES
-
-
-
- NNAAMMEE
- times - get process times
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
- ##iinncclluuddee <<ssyyss//ttiimmeess..hh>>
-
- ttiimmeess((bbuuffffeerr))
- ssttrruucctt ttmmss **bbuuffffeerr;;
-
- DDEESSCCRRIIPPTTIIOONN
- TThhiiss iinntteerrffaaccee iiss oobbssoolleetteedd bbyy ggeettrruussaaggee((22))..
-
- _T_i_m_e_s returns time-accounting information for the current
- process and for the terminated child processes of the
- current process. All times are in 1/HZ seconds, where HZ is
- 60.
-
- This is the structure returned by _t_i_m_e_s:
-
- /*
- * times.h --
- *
- * Structure returned by backwards compatible times()
- * function. Times() has been obsoleted by getrusage(2).
- *
- * Copyright 1989 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- *
- * $Header: /sprite/src/lib/include/sys/RCS/times.h,v 1.1 89/08/20 19:30:10 rab Exp $
- */
-
- #ifndef _SYS_TIMES_H
- #define _SYS_TIMES_H
-
-
- /*
- * Structure returned by times()
- */
- struct tms {
- time_t tms_utime; /* user time */
- time_t tms_stime; /* system time */
- time_t tms_cutime; /* user time, children */
- time_t tms_cstime; /* system time, children */
- };
-
-
-
-
- Sprite v1.0 May 9, 1985 1
-
-
-
-
-
-
- TIMES C Library Procedures TIMES
-
-
-
- #endif /* _SYS_TIMES_H */
-
-
- The children times are the sum of the children's process
- times and their children's times.
-
- SSEEEE AALLSSOO
- time(1), getrusage(2), wait3(2), time(3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v1.0 May 9, 1985 2
-
-
-
-